import IdEnum from '@/framework/infra/enum/IdEnum'
import IdEnumItem from '@/framework/infra/enum/IdEnumItem'

/**
 *  0：待审核，5：提现中，10：审核拒绝，15：提现成功，20：提现失败
 */
export default class WithdrawStatusEnum extends IdEnum {
  static WAIT_AUTH = new IdEnumItem(0, '待审核')
  static ING = new IdEnumItem(5, '提现中', { type: 'primary' })
  static REJECTED = new IdEnumItem(10, '审核拒绝', { type: 'info' })
  static RESOLVE = new IdEnumItem(15, '提现成功', { type: 'success' })
  static FAILED = new IdEnumItem(20, '提现失败', { type: 'danger' })
}
